package com.macw.ww_system.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邮件类型
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsEmail对象", description="邮件类型")
public class CmsEmail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "邮件类型")
    private Integer emailType;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    private String createBy;

    private LocalDateTime createTime;

    @ApiModelProperty(value = "发送者邮箱")
    private String fromEmail;

    @ApiModelProperty(value = "发送者邮箱密码")
    private String fromEmailPwd;

    @ApiModelProperty(value = "接收者邮箱")
    private String toEmail;

    @ApiModelProperty(value = "主题")
    private String subject;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "是否发送")
    private Integer sendFlag;

    @ApiModelProperty(value = "发送时间")
    private LocalDateTime sendTime;

    @ApiModelProperty(value = "发送类型 0立即 1定时")
    private Integer sendType;

    @ApiModelProperty(value = "定时时间")
    private LocalDateTime planTime;

    @ApiModelProperty(value = "抄送用户")
    private String copyTo;

    @ApiModelProperty(value = "附件")
    private String attachfiles;


}
